SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a2b69db72cea1620a45301a0e31eb3f390942d0e61c9574e9d2874e7fc0edb9' 
  AND token = 'dj3GyKxz0lBLe2pm5SB2PK1CWBq9GNRPvpqBKCaf4ro=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}