SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f52a54ec718ac508ba6bca72daa034319e0028745c2b4a908c399bd854179ae3' 
  AND token = 'lBM7bFklopSMcS5j60EYRSDqnCazDdoB7OQg5yL7iGs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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