SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a173156734432bf0aecb808b64df93ef8eff305fece30eb9b503a14ca08874b' 
  AND token = 'zbdz5m+LPDt7JZ0mk4nEuVZglDL/tGeJ7IggtHXZ1xM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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