SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49b10ad293eb39d185642c80d385bbc23176a01b23a469c87f0ce531d2153a2f' 
  AND token = 'sXGlKD/k7/oaoK539K76JKy7on7qziWpgbAzPYey8R4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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