SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '993847b261125fd63fb3b5142c5903eee40ff06990b9ed0e4ba1c8a6c5e9bc4a' 
  AND token = 'NMToBKdAqa+7pvsIL0fEQUGxD5UAfe3FIb1VbKnkfs0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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