SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4594707a0ab45c4890a6e0de12cc268a1e45d07c60e0cedb27e1d841c3f13bfa' 
  AND token = 'e98tU028+f8fB1Ptg8lShtbuytVhuQP7THUUOIYbegk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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