SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed23f6f35f590f5ac5ce64a3833a30e94db1f099012acdd72ae78635052e416f' 
  AND token = 'vDif/tQpj6N8A6NvUKlTHmZyn49zD2sFQUAVXF2GLd4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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