SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aafdc52b2f12f8135fec174e4d304a2bb64b0297e2d55f333a28edc11ac5881d' 
  AND token = 'YeVS2UtF4ZIYS/nyc3kKldD/Y0MKtA9L+TZ04Ktuje4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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