SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '13179b9331e3c38887fc944e309727a2fe5f3bdba52426a0628d3ea24cd26625' 
  AND token = 'z4kuKnbqbYh+WSbb8IswU0Wl9uhoaxVnNOvxQaysgc0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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