SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2dfa81ca79272935c7de22180aee410b702f5f1feaa6c6aca846b8b61317c158' 
  AND token = 'lY5WRsO/BIfbKve1YdwMRjObuQIXw27mhJa7FwgbLec=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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