SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd529c0ba28ae49dc16b9e6f16d820b3ea1b4b58a2471c64dbb74c0eececc20b0' 
  AND token = 'bSDEHvngRoqchtjLDLcG0BWqUFaZWPkSljWUPqcz8qI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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