SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b566a14a2a6de13ccc1d5f2c38864a4a634e6ea0fa8780fb3f766971430dcb8e' 
  AND token = 'ogJgG0EG6LObZ6NfD5gaj7L3xgdQTPdTwB5RCrzmr/Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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