SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bad2c5f7d158ab8fab8664f21bef47af0f6b4e2b31072e5c48f871f094dbfe4e' 
  AND token = 'pzAnBA/pQZ4UB2d2ribTuCcAKerdCyWzKc7YjIaBmd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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