SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7639ae7ad171103760f64b915fc4efd199a56a78e08024f7077d7a70f4f2daf' 
  AND token = 'yWvluq9NhsCe7UOeAh8eFVbvMo/lVlp9su7CEr93gWM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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