SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40119a22dab58ea3456f08e47d3efe9f836ca8aba135efa7ba794966c2c881ae' 
  AND token = 'NcRHgrMyUeuWSUR2GLT9wP7/wRSiMihT6hAXKQJZPsk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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