SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10dc30e22886e8e06b731daf8e7492e94962e44886b8d369f2b040cf83717601' 
  AND token = 'payy4DgHc6CZbbO6iXOQNwlzB0oRDF7jGYUTfblOXoY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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