SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c7ef12c30184b844461cf44fdc28c9d0912cde77fbe85048d32c826d9ae3fc5' 
  AND token = 'cpgGNpgYdKA+OyS435Gf8ZiT3V2ezvhxi/B/wcYIu5Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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