SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0405345fb006f0a496699d9f051078a5e19b08bdf1c6f0c8407cc170c8dc9037' 
  AND token = 'D7D2H1OEhHsd++469M62e2U/ttuhbjInL3eKG2tFhks=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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