SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4701fd1ea8bb3e24a6acf8985b9f60edb4d2221f567097832af8afbeaa5723af' 
  AND token = 'V3TENFwK99s0JapfnMI9j5lTVpK0JP52iVEo9KiqTJo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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