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

Query time 0.00031

JSON explain

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