SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5619fe4d29cf67c92f78f6b69b9b42e8d6d162a00d7bed012984dce4705e846d' 
  AND token = 'hZ56zjEhBA7oZDwLvi7X4ZRpIeDxbUZOTo3h5PQ2BIQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}