SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f994334efc2b068d4eeeb3e46c2ee1931a73e9b0d0abe31ab663a80856e39c7d' 
  AND token = 'g6BvQbJ0xZRQ2bIHxBfeyNmJBmxiaKZZle+eJhilwL8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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