SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd6264f232a1b1e571b024ecc32afe480ac010b7c9d8f201aa9470dc727f99548' 
  AND token = '7c7tJLFmBIWaiOzZZYg+s15lI+Dq5ytuPHAOOiheMpc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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